---@class UIBP_GameStartTips_C:UUserWidget
---@field Image_0 UImage
--Edit Below--
local UIBP_GameStartTips = { 
	LastTime = 0;
    bStart = false;
}; 

--Construct
function UIBP_GameStartTips:Construct()
	self.bCanEverTick = true
    self:SetVisibility(ESlateVisibility.Collapsed);
end
-- Construct

function UIBP_GameStartTips:Show(bShow)
    if bShow == true then
        self.bStart = true
        self:SetVisibility(ESlateVisibility.SelfHitTestInvisible);
        self.LastTime = GameplayStatics.GetRealTimeSeconds(self)
    else
        self.bStart = false
    end
end

function UIBP_GameStartTips:Tick(MyGeometry, InDeltaTime)
	if self.bStart == false then
        return
    end

    local Now = GameplayStatics.GetRealTimeSeconds(self)
    if Now >= self.LastTime + 2 then
        self:SetVisibility(ESlateVisibility.Collapsed);
        self.bStart = false
    end 
end

-- function UIBP_GameStartTips:Destruct()

-- end

return UIBP_GameStartTips;